package com.easy.service;

/**
 * 采购流程服务接口
 * 定义完整的采购业务流程
 */
public interface PurchaseFlowService {
    
    /**
     * 创建采购申请
     * 涉及实体：PurchaseRequest
     */
    boolean createPurchaseRequest();
    
    /**
     * 审批采购申请
     * 涉及实体：PurchaseRequest
     */
    boolean approvePurchaseRequest();
    
    /**
     * 生成采购订单
     * 涉及实体：Purchase_order, Supplier
     */
    boolean generatePurchaseOrder();
    
    /**
     * 供应商发货
     * 涉及实体：Purchase_order
     */
    boolean supplierDelivery();
    
    /**
     * 到货登记
     * 涉及实体：Purchase_order
     */
    boolean goodsReceipt();
    
    /**
     * 质量检验
     * 涉及实体：Quality_inspection, Purchase_order
     */
    boolean qualityInspection();
    
    /**
     * 入库处理
     * 涉及实体：Inventory, Raw_material
     */
    boolean stockIn();
}